<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<title>Login</title>
</head>
<body marginwidth="100px">
<div align="center">



<div>
	<f:view>
		<h:form>
			<fieldset>
				<legend>Login</legend>
				<br />
				<h:panelGrid border="1" columns="2">
					<h:outputText for="login" value="#{message.login}" />
					<h:inputText  id = "login" value="#{funcionarioBean.usuario}" />

					<h:outputText  for="senha" value="#{message.senha}" />
					<h:inputSecret id="senha" value="#{funcionarioBean.senha}" />

					<h:commandButton for="enviar" value="#{message.enviar}" action="#{funcionarioBean.validaLogin}" />
					
				</h:panelGrid>
			</fieldset>
		</h:form>
	</f:view>
</div>

</div>
</body>
</html>